package com.suoluo.zenadmin.vo.dest;

import org.springframework.web.multipart.MultipartFile;

public class DestFeatureCategoryVO implements Comparable<DestFeatureCategoryVO>{

	/**
	 * 特色类别标识
	 */
	private int featureCategoryId;
	/**
	 * 特色类别名称
	 */
	private String featureCategoryName;
	/**
	 * 分类顺序
	 */
	private int featureCategoryOrder;
	/**
	 * 该字段父类别为null,如果是子类别则是t_feature_category_id
	 */
	private int featureParentCategoryId;

	/**
	 * 特色类别颜色
	 */
	private String featureCategoryColor;
	/**
	 * 特色类别描述
	 */
	private String featureCategoryDesc;
	/**
	 * 默认停留时间
	 */
	private int defaultPauseTime;
	/**
	 * 图片迁移的路径
	 */
	private String featureCategoryOrigImg;
	/**
	 * 是否是顶层类别
	 */
	private int rootViewable;
	
	private int oldOrder;
	/**
	 * 归属父类名称
	 */
	private String parentName;

	private MultipartFile mfile;
	
	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public int getOldOrder() {
		return oldOrder;
	}

	public void setOldOrder(int oldOrder) {
		this.oldOrder = oldOrder;
	}

	public MultipartFile getMfile() {
		return mfile;
	}

	public void setMfile(MultipartFile mfile) {
		this.mfile = mfile;
	}

	public int getFeatureCategoryId() {
		return featureCategoryId;
	}

	public void setFeatureCategoryId(int featureCategoryId) {
		this.featureCategoryId = featureCategoryId;
	}

	public String getFeatureCategoryName() {
		return featureCategoryName;
	}

	public void setFeatureCategoryName(String featureCategoryName) {
		this.featureCategoryName = featureCategoryName;
	}

	public int getFeatureCategoryOrder() {
		return featureCategoryOrder;
	}

	public void setFeatureCategoryOrder(int featureCategoryOrder) {
		this.featureCategoryOrder = featureCategoryOrder;
	}

	public int getFeatureParentCategoryId() {
		return featureParentCategoryId;
	}

	public void setFeatureParentCategoryId(int featureParentCategoryId) {
		this.featureParentCategoryId = featureParentCategoryId;
	}

	public String getFeatureCategoryColor() {
		return featureCategoryColor;
	}

	public void setFeatureCategoryColor(String featureCategoryColor) {
		this.featureCategoryColor = featureCategoryColor;
	}

	public String getFeatureCategoryDesc() {
		return featureCategoryDesc;
	}

	public void setFeatureCategoryDesc(String featureCategoryDesc) {
		this.featureCategoryDesc = featureCategoryDesc;
	}

	public int getDefaultPauseTime() {
		return defaultPauseTime;
	}

	public void setDefaultPauseTime(int defaultPauseTime) {
		this.defaultPauseTime = defaultPauseTime;
	}

	public String getFeatureCategoryOrigImg() {
		return featureCategoryOrigImg;
	}

	public void setFeatureCategoryOrigImg(String featureCategoryOrigImg) {
		this.featureCategoryOrigImg = featureCategoryOrigImg;
	}

	public int getRootViewable() {
		return rootViewable;
	}

	public void setRootViewable(int rootViewable) {
		this.rootViewable = rootViewable;
	}

	@Override
	public int compareTo(DestFeatureCategoryVO o) {
		return this.featureCategoryOrder - o.featureCategoryOrder;
	}
}
